package com.anlu.pattern.structrue.decorator;

import com.anlu.pattern.common.entity.Bag;

public class SpeedDecorator extends BagDecorator{

    public SpeedDecorator(Bag bag) {
        super(bag);
    }

    @Override
    public void pack() {
        super.pack();
        speedy();
    }
    private void speedy(){
        System.out.println("------");
        System.out.println("打上加急标识");
    }
}
